home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / rdr.z / rdr
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. rrrrddddrrrr((((3333GGGG))))                                                                rrrrddddrrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrrddddrrrr,,,, rrrrddddrrrriiii,,,, rrrrddddrrrrssss,,,, rrrrddddrrrr2222,,,, rrrrddddrrrr2222iiii,,,, rrrrddddrrrr2222ssss - relative draw
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd rrrrddddrrrr((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  13.      CCCCoooooooorrrrdddd ddddxxxx,,,, ddddyyyy,,,, ddddzzzz;;;;
  14.  
  15.      vvvvooooiiiidddd rrrrddddrrrriiii((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  16.      IIIIccccoooooooorrrrdddd ddddxxxx,,,, ddddyyyy,,,, ddddzzzz;;;;
  17.  
  18.      vvvvooooiiiidddd rrrrddddrrrrssss((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  19.      SSSSccccoooooooorrrrdddd ddddxxxx,,,, ddddyyyy,,,, ddddzzzz;;;;
  20.  
  21.      vvvvooooiiiidddd rrrrddddrrrr2222((((ddddxxxx,,,, ddddyyyy))))
  22.      CCCCoooooooorrrrdddd ddddxxxx,,,, ddddyyyy;;;;
  23.  
  24.      vvvvooooiiiidddd rrrrddddrrrr2222iiii((((ddddxxxx,,,, ddddyyyy))))
  25.      IIIIccccoooooooorrrrdddd ddddxxxx,,,, ddddyyyy;;;;
  26.  
  27.      vvvvooooiiiidddd rrrrddddrrrr2222ssss((((ddddxxxx,,,, ddddyyyy))))
  28.      SSSSccccoooooooorrrrdddd ddddxxxx,,,, ddddyyyy;;;;
  29.  
  30.      All of the above routines are functionally the same.  They differ only in
  31.      the type declarations of their parameters and whether or not they assume
  32.      a two- or three-dimensional space.
  33.  
  34. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  35.      _d_x   expects the distance from the x coordinate of the current graphics
  36.           position to the x coordinate of the new point.
  37.  
  38.      _d_y   expects the distance from the y coordinate of the current graphics
  39.           position to the y coordinate of the new point.
  40.  
  41.      _d_z   expects the distance from the z coordinate of the current graphics
  42.           position to the z coordinate of the new point.
  43.  
  44. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.      rrrrddddrrrr is the relative version of ddddrrrraaaawwww.  It connects the current graphics
  46.      position and a point, at the specified distance, with a line segment
  47.      using the current linestyle, linewidth, color (if in depth-cue mode, the
  48.      depth-cued color is used), and writemask.  The system updates the current
  49.      graphics position to the new point.
  50.  
  51.      Do not place routines that invalidate the current graphics position
  52.      within sequences of relative moves and draws.
  53.  
  54. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.      bgnline, endline, popmatrix, pushmatrix, rmv, translate, v
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrrddddrrrr((((3333GGGG))))                                                                rrrrddddrrrr((((3333GGGG))))
  71.  
  72.  
  73.  
  74. NOTE
  75.      rrrrddddrrrr should not be used in new development.  Rather, lines should be drawn
  76.      using the high-performance vvvv commands, surrounded by calls to bbbbggggnnnnlllliiiinnnneeee and
  77.      eeeennnnddddlllliiiinnnneeee.  Matrix commands ppppuuuusssshhhhmmmmaaaattttrrrriiiixxxx, ttttrrrraaaannnnssssllllaaaatttteeee, and ppppooooppppmmmmaaaattttrrrriiiixxxx should be
  78.      used to accomplish relative positioning.
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.